home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gGraph
- doRollover(gGraph)
- go(the frame)
- end
-
- on keyDown
- global gGraph
- if the machineType = 256 then
- theModifier = the controlDown
- else
- theModifier = the commandDown
- end if
- if theModifier then
- if the keyPressed = "p" then
- simulateClickOn(getPrintButton(gGraph))
- else
- if the keyPressed = "w" then
- simulateClickOn(getCloseBox(gGraph))
- end if
- end if
- end if
- end
-